package cn.com.bluemoon.daps.model.vo;

import cn.com.bluemoon.daps.model.entity.DapDataModelSubordinateKey;
import cn.com.bluemoon.daps.model.entity.DapDataModelTable;
import cn.com.bluemoon.daps.model.entity.DapDataModelTableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import java.util.ArrayList;
import java.util.List;

@Data
public class InsertExcelTableAndFieldVo {

    @Valid
    @ApiModelProperty(value = "表对象")
    private DapDataModelTable dapDataModelTable;

    @Valid
    @ApiModelProperty(value = "字段对象集合")
    private List<DapDataModelTableField> fieldList = new ArrayList<>();

    @Valid
    @ApiModelProperty(value = "索引集合")
    private List<DapDataModelSubordinateKey> keyList = new ArrayList<>();

}
